PROJECT(wakabaparser)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/boardparsers)

SET(wakabaparser_sources
	wakabaparser.cpp)

SET(wakabaparser_headers
	wakabaparser.h)

QT4_WRAP_CPP(wakabaparser_moc ${wakabaparser_headers})

ADD_LIBRARY(wakabaparser MODULE ${wakabaparser_sources} ${wakabaparser_moc})
TARGET_LINK_LIBRARIES(wakabaparser ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(wakabaparser PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS wakabaparser LIBRARY DESTINATION ${LIBDIR}/plugins/boardparsers)

